<template>
	<view>
		<my-model
		    ref="model"
		    content="此操作需要授权登录,是否确认进行登录"
			@getIphone="getIphone"
		    >
		</my-model>
		<my-model
		    ref="iphone"
			:iphone="true"
		    content="绑定手机号体验更佳~~"
		    >
		</my-model>
	</view>
</template>

<script>
	import myModel from '@/components/neil-modal/neil-modal.vue';
	export default {
		components:{
			myModel
		},
		data() {
			return {
				
			};
		},
		mounted() {
			
		},
		methods:{
			getIphone(){
				this.$refs.iphone.openModel()
			},
			open(){
				this.$refs.model.openModel()
			}
		}
	}
</script>

<style lang="scss">

</style>
